<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /* 
        1. 0<10 i++
        2. 1<10 i++
        3. 2<10 i++
        ...
        10. 9<10 i++ = 10
        11. 10<10 结束循环
      */
      let i = 0;
      while (i < 10) {
        console.log(i, "hello");
        i++;
      }
    </script>
  </body>
</html>
